.jd_layout {
    width: 100%;
    /* height: 2000px; */
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    background-color: #ccc;
}

.jd_search {
    width: 100%;
    height: 40px;
    max-width: 640px;
    position: fixed;
    z-index: 999;
    /* position: relative; */
    background-color: rgba(235, 46, 46, 0);
}

.jd_logo {
    width: 56px;
    height: 30px;
    position: absolute;
    top: 8px;
    left: 10px;
    background: url(../images/jd-sprites.png);
    background-size: 200px 200px;
    background-position: 0 -108px;
}

.jd_login {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 40px;
    color: #ccc;
}

.searchBox {
    width: 100%;
    height: 100%;
    /* padding: 0 100px; */
    padding-left: 76px;
    padding-right: 50px;
}

.searchBox input {
    width: 100%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
    color: #ccc;
}

.searchBox::before {
    content: "";
    width: 27px;
    height: 23px;
    background: url(../images/jd-sprites.png);
    background-size: 200px 200px;
    background-position: -56px -108px;
    position: absolute;
    top: 9px;
    left: 80px;
}


/*轮播图*/

.jd_banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.jd_bannerImg {
    position: relative;
    width: 1000%;
    left: -100%;
}

.jd_bannerImg li {
    /* width: 10%; */
    float: left;
}

.jd_bannerImg>li img {
    display: block;
    width: 100%;
}

.jd_bannerIndicator {
    width: 128px;
    height: 10px;
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
}

.jd_bannerIndicator li {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    border: 1px solid #ccc;
    margin-left: 10px;
    float: left;
}

.jd_bannerIndicator>li:first-of-type {
    margin-left: 0;
}

.jd_bannerIndicator>li.active {
    background-color: #ccc;
}


/* 导航块样式 */

.jd_nav {
    width: 100%;
    background-color: #fff;
}

.jd_nav li {
    width: 25%;
    float: left;
    text-align: center;
    margin-top: 5px;
}

.jd_nav li img {
    width: 39px;
}

.jd_nav li p {
    line-height: 25px;
}


/* 产品块样式 */

.jd_product {
    width: 100%;
}

.jd_productBox {
    width: 100%;
    margin-top: 5px;
    background-color: #fff;
    /* 边框阴影 */
    box-shadow: 1px 1px 1px #ccc;
}

.jd_productBox>.jd_pTip {
    width: 100%;
    height: 30px;
    border-bottom: 1px solid #ccc;
    line-height: 30px;
}

.jd_productBox>.jd_pTip h3 {
    margin-left: 30px;
    /* text-align: center; */
    line-height: 30px;
    color: #666;
    position: relative;
}

.jd_productBox>.jd_pTip h3::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 12px;
    background-color: rgb(207, 23, 23);
    top: 9px;
    left: -12px;
}

.a_50 {
    width: 50%;
    display: block;
}

.a_50 img {
    width: 100%;
    display: block;
}

.b_top {
    border-top: 1px solid #ccc;
}

.b_left {
    border-left: 1px solid #ccc;
}

.b_right {
    border-right: 1px solid #ccc;
}

.b_bottom {
    border-bottom: 1px solid #ccc;
}


/* 秒杀样式 */

.jd_sk>.jd_pTip {
    border-bottom: none;
}

.jd_sk>.jd_pTip .jd_sk_icon {
    width: 16px;
    height: 20px;
    background: url("../uploads/seckill-icon.png");
    background-size: 16px 20px;
    margin-top: 3px;
}

.jd_sk>.jd_pTip .jd_sk_text {
    color: #e92322;
}

.jd_sk>.jd_pTip .jd_sk_time>span {
    width: 13px;
    height: 18px;
    display: inline-block;
    line-height: 18px;
    color: #fff;
    background-color: #000;
    text-align: center;
}

.jd_sk>.jd_pTip .jd_sk_time>span:nth-last-of-type(3n) {
    color: #000;
    background-color: transparent;
    width: 8px;
}

.jd_sk .jd_pContent {
    padding: 20px;
}

.jd_sk .jd_pContent ul {
    width: 100%;
}

.jd_sk .jd_pContent ul li {
    width: 33.33%;
    float: left;
    text-align: center;
}

.jd_sk .jd_pContent ul li img {
    width: 60%;
    display: inline-block;
}

.jd_sk .jd_pContent ul li a {
    display: block;
}